package com.yellowcong;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

//@ServletComponentScan扫描Servlet组件时 ,
//Servlet、过滤器和监听器可以是通过@WebServlet、@WebFilter和@WebListener自动注册
@ServletComponentScan
@SpringBootApplication
public class ConfigMain {  
	  
    public static void main(String[] args) {  
        SpringApplication.run(ConfigMain.class, args);  
    }  
}
